<tem>

<!-- 详情 -->
<div class="template detail-info" id="detail_template">
	<div class="panel-body no-tb-padder">
		<form class="bs-example form-horizontal xs-form xs-form-mb5">
			<div class="form-group">
				<label class="col-lg-3 control-label">原始事件名称：</label>
				<label class="col-lg-3 control-label tl" data-id="alarmName"></label>
				<label class="col-lg-2 control-label">类型：</label>
				<label class="col-lg-4 control-label tl" data-id="alarmType"></label>
			</div>
			<div class="form-group">
				<label class="col-lg-3 control-label">等级：</label>
				<label class="col-lg-3 control-label tl" data-id="alarmLevel"></label>
				<label class="col-lg-2 control-label">源IP/端口：</label>
				<label class="col-lg-4 control-label tl" data-id="srcIpPort"></label>
			</div>
			<div class="form-group">
				<label class="col-lg-3 control-label">目的IP/端口：</label>
				<label class="col-lg-3 control-label tl" data-id="destIpPort"></label>
				<label class="col-lg-2 control-label">数量：</label>
				<label class="col-lg-4 control-label tl" data-id="eventCount"></label>
			</div>
			<div class="form-group">
				<label class="col-lg-3 control-label">时间：</label>
				<label class="col-lg-3 control-label tl" data-id="startDate"></label>
				<label class="col-lg-2 control-label">事件设备：</label>
				<label class="col-lg-4 control-label tl" data-id="deviceName"></label>
			</div>
			<div class="form-group">
				<label class="col-lg-3 control-label">事件设备IP：</label>
				<label class="col-lg-3 control-label tl" data-id="deviceIpv"></label>
				<label class="col-lg-2 control-label">协议：</label>
				<label class="col-lg-4 control-label tl" data-id="protocol"></label>
			</div>
			<div class="form-group">
				<label class="col-lg-3 control-label">引擎：</label>
				<label class="col-lg-9 control-label tl" data-id="agentName"></label>
			</div>
			<div class="form-group">
				<label class="col-lg-3 control-label">原始日志：</label>
				<label class="col-lg-8 control-label tl" data-id="message"></label>
			</div>
		</form>
	</div>
</div>
<!-- 查询 -->
<div class="template" id="search_template">
	<div class="panel-body no-tb-padder">
		<form class="bs-example form-horizontal xs-form" id="query_form">
			<div class="form-group">
			    <label class="col-lg-2 control-label">原始事件名称</label>
			    <div class="col-lg-4 tl">
					<input type="text" class="form-control input-sm" data-id="alarmName">
				</div>
				<label class="col-lg-2 control-label">类型</label>
			    <div class="col-lg-4">
			        <div class="inputdrop" id="alarmType"></div>
			    </div>
			</div>
			<div class="form-group">
			    <label class="col-lg-2 control-label">等级</label>
			    <div class="col-lg-4 tl">
					<select class="form-control input-sm" data-type="select" data-id="alarmLevel" multiple="multiple">
						<option value="0">很高</option>
						<option value="1">高</option>
						<option value="2">中</option>
						<option value="3">低</option>
						<option value="4">很低</option>
					</select>
				</div>
				<label class="col-lg-2 control-label">事件设备</label>
			    <div class="col-lg-4">
			        <div class="inputdrop" id="deviceName"></div>
			    </div>
			</div>
			<div class="form-group">
			    <label class="col-lg-2 control-label">原始日志</label>
			    <div class="col-lg-10 tl">
					<input type="text" class="form-control input-sm" data-id="message">
				</div>
			</div>
			<div class="form-group">
			    <label class="col-lg-2 control-label">源IP类型</label>
			    <div class="col-lg-4 radio tl">
				    <label class="i-checks ml3">
						<input type="radio" value="1" data-id="srcIpType" name="srcIpType" checked>
						<i></i>
					IPV4
					</label>
					<label class="i-checks ml15">
						<input type="radio" value="2" name="srcIpType">
						<i></i>
					IPV6
					</label>
				</div>
				<label class="col-lg-2 control-label">源IP</label>
			    <div class="col-lg-4 tl">
					<input type="text" class="form-control input-sm" data-name="srcIp" data-id="srcIp" validate="ipv4">
				</div>
			</div>
			<div class="form-group">
			    <label class="col-lg-2 control-label">目的IP类型</label>
			    <div class="col-lg-4 radio tl">
				    <label class="i-checks ml3">
						<input type="radio" value="1" data-id="destIpType" name="destIpType" checked>
						<i></i>
					IPV4
					</label>
					<label class="i-checks ml15">
						<input type="radio" value="2" name="destIpType">
						<i></i>
					IPV6
					</label>
				</div>
				<label class="col-lg-2 control-label">目的IP</label>
			    <div class="col-lg-4 tl">
					<input type="text" class="form-control input-sm" data-name="destIp" data-id="destIp" validate="ipv4">
				</div>
			</div>
			<div class="form-group">
			    <label class="col-lg-2 control-label" style="padding-left: 0;">事件设备IP类型</label>
			    <div class="col-lg-4 radio tl">
				    <label class="i-checks ml3">
						<input type="radio" value="1" data-id="deviceIpType" name="deviceIpType" checked>
						<i></i>
					IPV4
					</label>
					<label class="i-checks ml15">
						<input type="radio" value="2" name="deviceIpType">
						<i></i>
					IPV6
					</label>
				</div>
				<label class="col-lg-2 control-label">事件设备IP</label>
			    <div class="col-lg-4 tl">
					<input type="text" class="form-control input-sm" data-name="deviceIp" data-id="deviceIp" validate="ipv4">
				</div>
			</div>
			<div class="form-group">
			    <label class="col-lg-2 control-label tr">时间范围</label>
			    <div class="col-lg-4">
					<select class="form-control input-sm" data-type="select" id="dateRange">
						<option value="" selected>----</option>
						<option value="1">最近一天</option>
						<option value="2">最近一周</option>
						<option value="3">最近一月</option>
						<option value="4">最近一季度</option>
					</select>
				</div>
			</div>
			<div class="form-group">
			    <label class="col-lg-2 control-label tr">开始时间</label>
			    <div class="col-lg-4">
					<div class="input-group w-all">
					    <input type="text" class="form-control input-sm tl" data-type="date" data-id="startDate" container="body" validate="required">
					</div>
				</div>
				<label class="col-lg-2 control-label tr">结束时间</label>
				<div class="col-lg-4">
					<div class="input-group w-all">
					    <input type="text" class="form-control input-sm tl" data-type="date" data-id="endDate" container="body" validate="dateCompareWithstartDate,required">
					</div>
				</div>
			</div>
		</form>
	</div>
</div>

</tem>